﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SysUserList.ascx.cs" Inherits="BuXiaChu.OrderDishes.Web.Admin.Modules.Sys.SysUserList" %>
<table>
    <tr>
        <td>姓名</td>
        <td>系统用户</td>
        <td>站点名称</td>
        <td>权限名称</td>
        <td>最近登录时间</td>
        <td>操作</td>
    </tr>
<% foreach (var item in List)
   {%>
    <tr>
        <td><%=GetLoginName(item.EmployeeId)%></td>
        <td><% = item.LoginName %></td>
        <td><% = GetAppName(item.ApplicationId)%></td>
        <td><%= HttpUtility.HtmlEncode(GetRoleNameBy(item.SystemUserId))%></td>
        <td><% = item.LastActiveDate %></td>
         <td>
            <a href="SetRoles.aspx?SysUserId=<%=item.SystemUserId %>">设置权限</a><span>|</span> <a href="javascript:;" onclick="deleteSysUser(<%=item.SystemUserId %>)">删除</a>
        </td>
    </tr>
<% } %>
</table>